#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

@interface NetWorkManager : NSObject

+(NetWorkManager*) getInstanse;

+ (BOOL)connectedToNetwork;
-(BOOL)requestURLAsynMessage:(NSString*)message data:(NSString*)jsonData FinishBlock:(void(^)(NSURLResponse *response, NSData *data, NSError *connectionError)) block;
-(NSDictionary*)requestURLSynMessage:(NSString*)message data:(NSString*)jsonData;

-(BOOL)uploadImageToServer:(UIImage*)img FinishBlock:(void(^)(NSURLResponse *response, NSData *data, NSError *connectionError)) block;

-(BOOL)uploadMultipleImageToServer:(NSMutableDictionary*)dict_info imageArray:(NSMutableArray*) imageArrays FinishBlock:(void(^)(NSURLResponse *response, NSData *data, NSError *connectionError)) block;
@end
